body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-header {
    background-color: #f0f0f0;  /* 淡蓝色背景 */
    color: black;
    padding: 10px 0;
}

.top-header img.system-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.top-header h1 {
    margin: 0;
}

.middle-section {
    background-color: #f0f0f0;
    position: relative;
}

.slider {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 填充满整个容器 */
}

.login-info {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
    text-align: center;
    z-index: 10;
}

.login-box {
    margin-bottom: 20px;
}

.login-buttons {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-buttons h5 {
    margin: 0 10px 0 0;
}

.bottom-footer {
    padding: 20px 0;
    text-align: center;
    color: #000000; /* 黑色字体 */
    background-image: url('../images/background.jpg'); /* 底部背景图片路径 */
    background-size: cover; /* 背景图片覆盖整个底部 */
    background-repeat: no-repeat; /* 背景图片不重复 */
    background-attachment: fixed; /* 背景图片固定 */
}


.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 20px;
}

.footer-content h2 {
    margin: 0;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    grid-gap: 20px;
}

.gallery-item {
    text-align: center;
    transition: transform 0.3s ease-in-out; /* 添加过渡效果 */
}

.gallery-item:hover {
    transform: scale(1.1); /* 鼠标悬停时放大 */
}

.gallery-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

button {
    padding: 8px 20px;
    font-size: 14px;
    background-color: white;
    color: #007bff;
    border: 2px solid #007bff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

button:hover {
    background-color: #0056b3;
    color: white;
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none; /* 默认隐藏 */
    padding: 10px 20px;
    font-size: 14px;
    background-color: #000000; /* 黑色背景 */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.back-to-top:hover {
    background-color: #333333; /* 鼠标悬停时的颜色 */
}

/* 页脚样式 */
footer {
    background-color: #f0f0f0;
    padding: 10px 0;
    text-align: center;
    color: #000000;
    font-size: 14px;
}

.footer-bottom {
    padding: 10px 0;
}

.footer-bottom p {
    margin: 5px 0;
    color: #000000; /* 黑色字体 */
}

.footer-bottom a {
    color: #000000; /* 链接颜色 */
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #333333; /* 链接悬停颜色 */
}
